package com.szrt.spring.ch01;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringContainerTest {
	
	
	
	@SuppressWarnings("resource")
	@Test
	public void init() throws Exception {
		
		ApplicationContext context = 
				new ClassPathXmlApplicationContext(new String[]{"com/szrt/spring/ch01/applicationContext01.xml"});
		
		System.out.println(context.getClass());
		System.out.println("容器实例化成功...");
		
	}

}
